# Contributor: Danct12 <danct12@disroot.org>
# Maintainer: Danct12 <danct12@disroot.org>
pkgname=wf-config
pkgver=0.7.1
pkgrel=0
pkgdesc="Library for managing configuration files written for Wayfire"
url="https://wayfire.org"
arch="all"
license="MIT"
makedepends="
	meson
	libevdev-dev
	libxml2-dev
	glm-dev
	linux-headers
	"
options="!check" # no testsuite
subpackages="$pkgname-dev"
source="https://github.com/WayfireWM/wf-config/releases/download/v$pkgver/wf-config-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
d535a09a3465a54a607df7b8764ee6818ab8b83536d68c85167b282b95a176636e4bf5cda6c0d1638c07721a1f4208203e9d41b83675038fb590a535314df719  wf-config-0.7.1.tar.xz
"
